﻿@{
    ViewBag.Title = "Image";
    var path = UrlHelper.GenerateContentUrl("~/Uploads/" + @Model.Name, this.ViewContext.HttpContext);
}

<h2>Image</h2>

<fieldset>
    <legend>AttachmentViewModel</legend>
    <img src="@path"/>
</fieldset>
<p>
    @Html.ActionLink("Back to List", "Details", "Blog", new { id = Model.PostId }, null)
</p>
